package com.AAA.controller;

import com.AAA.entity.LayData;
import com.AAA.service.TRoleMenuService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * (TRoleMenu)表控制层
 *
 * @author makejava
 * @since 2022-10-26 14:41:35
 */
@RestController
@RequestMapping("tRoleMenu")
public class TRoleMenuController {
    /**
     * 服务对象
     */
    @Autowired
    private TRoleMenuService tRoleMenuService;

    @PostMapping
    public LayData updRoleMenu(Integer rid, String mids){
        return new LayData(tRoleMenuService.updRoleMenu(rid,mids));
    }
}
